package fun.shuofeng.myspringmvc.utils;

/**
 * @author 朔风
 * @date 2023-11-17 14:12
 */
public class ResponseUtils {
    private String message;
    private Integer code;



    public ResponseUtils(String message, Integer code) {
        this.message = message;
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "ResponseUtils{" +
                "message='" + message + '\'' +
                ", code=" + code +
                '}';
    }
}
